package com.ls.enums;

/**
 * @ClassName CommonExceptionEnums
 * @Description 分部
 * @Author TangQuanBin
 * @Date 2019/9/14 10:36
 * @Version 1.0
 **/
public enum BranchEnums {

    /**成都分部*/
    CHENGDU(Long.valueOf(1), "成都分部."),
    /**北京分部*/
    BEIJING(Long.valueOf(2), "北京分部"),
    /**深圳分部*/
    SHENZHEN(Long.valueOf(3), "深圳分部"),
    /**上海分部*/
    SHANGHAI(Long.valueOf(4), "上海分部"),
    /**武汉分部*/
    WUHAN(Long.valueOf(5), "武汉分部");

    /**返回分部id*/
    private final Long branchId;

    /**返回分部名字*/
    private final String branchName;

    BranchEnums(Long branchId, String branchName) {
        this.branchId = branchId;
        this.branchName = branchName;
    }

    public String getBranchName() {
        return branchName;
    }

    public Long getBranchId() {
        return branchId;
    }

}
